import { createRouter, createWebHistory } from 'vue-router';
import { routes } from './routes';
import { setupRouteGuard } from './guard';
const router = createRouter({
  history : createWebHistory(),
  routes : routes,
  scrollBehavior : () => ({left :  0 , top : 0})
});
setupRouteGuard(router);
export default router;